#!/usr/bin/env python
# encoding: utf-8
"""
manage.py

Created by Daniel Yang on 2011-04-18.
Copyright (c) 2011 __MyCompanyName__. All rights reserved.
"""
import sys, os, hashlib

import cyclone, txmongo
import cyclone.web
from datetime import datetime

from twisted.python import log
from twisted.internet import defer
from recaptcha.client import captcha
from utils.route_decorator import route
from webhelpers.paginate import Page, PageURL
from handlers import BaseHandler

from db import *
from db.god import *



@route('/manage/user/', 'manage_user')
class ManageUserHandler(BaseHandler):
    """用户管理"""
    
    #@defer.inlineCallbacks
    @cyclone.web.authenticated
    def get(self):
        self.render(self.template_path+'manage/user.html')